home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 351-375 / 351 / pdc / pdcsrc.lzh / PDC / CGlbDec.h < prev    next >
C/C++ Source or Header  |  1990-04-06  |  2KB  |  87 lines

  1.  
  2. /* PDC Compiler - A Freely Distributable C Compiler for the Amiga
  3.  *                Based upon prior work by Matthew Brandt and Jeff Lydiatt.
  4.  *
  5.  * PDC Compiler release 3.3 Copyright (C) 1989 Paul Petersen and Lionel Hummel.
  6.  * PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  7.  *
  8.  * This code is freely redistributable upon the conditions that this 
  9.  * notice remains intact and that modified versions of this file not be 
  10.  * distributed as part of the PDC Software Distribution without the express
  11.  * consent of the copyright holders.
  12.  *
  13.  *------------------------------------------------------------------
  14.  *
  15.  * $Log:    CGlbDec.h,v $
  16.  * Revision 3.33  90/04/04  02:29:06  lionel
  17.  * *** empty log message ***
  18.  * 
  19.  * Revision 3.32  90/02/03  16:23:03  lionel
  20.  * None
  21.  * 
  22.  *------------------------------------------------------------------
  23.  */
  24.  
  25. /* Cglbdec.h
  26.  * Header file containing global declarations for the entire program
  27.  */
  28.  
  29. extern FILE    *input, *list, *output;
  30.  
  31. extern struct OptTab {
  32.     int         Optimize;
  33.     int         List;
  34.     int         Quiet;
  35.     int         Annote;
  36.     int         Frame;
  37.     int         Debug;
  38.     int         MulDiv32;
  39.     int         Builtin;
  40.     int         PreComp;
  41.     int         Stack;
  42. }       Options;
  43.  
  44. extern long ival;
  45. extern double   rval;
  46. extern int  lineno;
  47. extern int  nextlabel;
  48. extern int  lastch;
  49. extern char lastid[MAX_IDP1];
  50. extern char laststr[MAX_STLP1];
  51. extern char    *curfile;
  52. extern enum e_sym lastst;
  53. extern struct slit *strtab;
  54.  
  55. extern TABLE    gsyms, lsyms;
  56. extern SYM     *lastfunc;
  57. extern SYM     *lasthead;
  58.  
  59. extern int  lc_static;
  60. extern int  lc_base;
  61. extern int  lc_auto;
  62. extern int  lc2_auto;
  63. extern int  nest_level;
  64. extern int  maxparmsize;
  65.  
  66. extern char data_name[64];
  67. extern char code_name[64];
  68. extern char bss_name[64];
  69.  
  70. extern int  float_auto;
  71.  
  72. extern struct snode *bodyptr;   /* parse tree for function */
  73. extern struct snode *autohead;
  74. extern struct snode *autotail;
  75.  
  76. extern struct libcall  *libpragma;
  77.  
  78. extern int      global_flag;
  79. extern TABLE    defsyms;
  80. extern TABLE    cmd_defsyms;
  81. extern TABLE    cmd_undefsyms;
  82. extern TABLE    cmd_include;
  83. extern TABLE    cmd_local;
  84.  
  85. extern int      save_mask;  /* register save mask */
  86. extern int      PdcFlags;
  87.